<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
<meta name="keywords" content="">
<meta name="description" content="">
<link rel="stylesheet" type="text/css" href="{THEME_STYLE_PATH}style/css/style.css">
<link rel="stylesheet" type="text/css" href="{THEME_STYLE_PATH}style/css/css.css">
<script type="text/javascript" src="{THEME_STYLE_PATH}style/js/jquery-1.8.0.min.js"></script>
<script src="{THEME_STYLE_PATH}style/js/jQuery-jcContact.js" type="text/javascript"></script>
{include template("header","common")}
<script type="text/javascript">
 var ajaxurl = "{U('Index/getArea')}";
	
	function loadArea(areaId,areaType){
		$.post(ajaxurl,{'areaId':areaId},function(data){
	    	var region = eval(data);
	        if(areaType!='null'){
	            $.each(region,function(no,items){
	                $('#'+areaType).append('<option value="'+items.linkageid+'">'+items.name+'</option>');
	            });
	        }
   		 });
		}
	

</script>

<!--我的订单 start-->
<div class="pad">
<div class="maim">
	<div class="personal">
		<span><a href="#">首页></a><a href="#">个人中心</a>>收货地址</span>
	</div>
	<div class="personal_em">
		{include template("ucenter_left","common")}

		<div class="indent">
			<h2>收货地址</h2>
			<div class="indent_right">
				<a href="#" class="plants">全部订单</a>|
				<a href="#">未支付订单</a>|
				<a href="#">已关闭订单</a>|
				<a href="#">退款单</a>
			</div>
			<div class="personal_right">
				<div class="portarit">
				  <form name="form1" method="post" action="{U('Member/Profile/receiving')}">
				    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="rec_table">
				      <tr>
				        <td width="10%">收货人姓名：</td>
				        <td width="87%" height="50"><label for="textfield"></label>
			            <input type="text" name="nickname" id="textfield" value="{$user[nickname]}" class="rec_text">
			            <span class="grey">请填写真实姓名</span></td>
				        <td width="3%">&nbsp;</td>
			          </tr>
				      <tr>
				        <td>收货人手机：</td>
				        <td height="50"><input type="text" name="phone" value="{$user[phone]}" id="textfield2" class="rec_text">
				          <span class="grey">请保持手机通畅</span></td>
				        <td>&nbsp;</td>
			          </tr>
				      <tr>
				        <td>详细地址：</td>
				        <td height="50"><label for="select"></label>
				          <select name="city" id="city" style="height:30px;" onclick="loadArea(this.value,'district');">
				          	{loop $region $v}
				            <option value="{$v[linkageid]}" {if $address[city] == $v[linkageid]} selected {/if}>{$v[name]}</option>
				            {/loop}
		                  </select>
				          <select name="district" id="district" onclick="loadArea(this.value,null);" style="height:30px;">
				          	{if $address[district]}
				            <option>{$district}</option>
				            {/if}
		                  </select>
				          <input type="text" name="address" value="{$address[address]}" id="textfield5" class="rec_text1"></td>
				        <td>&nbsp;</td>
			          </tr>
				      <tr>
				        <td>邮编：</td>
				        <td height="50"><input type="text" name="code" value="{$user[code]}" id="textfield3" class="rec_text"></td>
				        <td>&nbsp;</td>
			          </tr>
				      <tr>
				        <td>E-MAIL：</td>
				        <td height="50"><input type="text" name="email" value="{$user[email]}" id="textfield4" class="rec_text"></td>
				        <td>&nbsp;</td>
				        <input type="hidden" name="userid" value="{$user[userid]}">
			          </tr>
				      <tr>
				        <td>&nbsp;</td>
				        <td height="80">
				        	<input type="submit" class="rec_affim" value="确认"></a>
				        </td>
				        <td>&nbsp;</td>
			          </tr>
			        </table>
			      </form>
				  
					
				</div>
			</div>
		</div>
	</div>
</div>
</div>
<!--我的订单 end-->

{include template("footer","common")}


</body>
</html>
